export default {
  namespaced:true,
  state:{
    num:2
  },
  mutations:{
    SET_NUM(state,num){
      state.num=num
    }
  },
  actions:{
    getNum({commit}){
      commit('SET_NUM',99)
      // console.log(this)
    }
  },
  getters:{
    gettersNum(state){
      return state.num
    }
  }
}